package com.jianwei.web.action;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import com.jianwei.web.pojo.LdwsUsers;
import com.jianwei.web.service.LdwsUserService;
import com.jianwei.web.util.StrutsUtils;
import com.opensymphony.xwork2.ActionSupport;

@Controller
public class LdwsUserAction extends ActionSupport {
	@Autowired
	private LdwsUserService ldwsUserService;
	private LdwsUsers user;
	
	public void checkUser(){
		StrutsUtils.readJson(ldwsUserService.check(user).toString());
	}

	public LdwsUsers getUser() {
		return user;
	}

	public void setUser(LdwsUsers user) {
		this.user = user;
	}
	
	
}
